export function genParamStr (obj) {
  const paramsArr = []
  for (const prop in obj) {  //eslint-disable-line
    paramsArr.push(`${prop}=${obj[prop]}`)
  }
  return paramsArr.join('&')
}

export default {
  genParamStr
}
